package routers

import (
	beego "github.com/beego/beego/v2/server/web"
	"user01/controllers"
)

func init() {
	beego.Router("/", &controllers.MainController{})

	beego.Router("/login", &controllers.UserController{}, "post:Login")
	beego.Router("/cat", &controllers.UserController{}, "post:Cat")
}
